const mongoose = require("mongoose");
// 创建Category集合的数据规则
const schema = new mongoose.Schema({
  name: { type: String },
  icon: { type: String },
});
// 操作 Categorys 集合的 model
module.exports = mongoose.model("Item", schema);
